<div class="account-form">
    <fieldset>
        <?php echo $this->Form->create( "User", array( "type" => "post" ) ); ?>
        <?php echo $this->Form->input( "id", array( "type" => "hidden" ) ) ?>
        <div class="form-group"><?php echo $this->Form->input( "nume", array(
                "label" => "Name",
                "class" => "form-control",
                "pattern" => "^[a-zA-Z]{3,}$"
            ) ); ?>
        </div>
        <div class="form-group"><?php echo $this->Form->input( "init_tata", array(
                "label" => "Initiala tatalui",
                "class" => "form-control",
                "pattern" => "[a-zA-Z]"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "prenume", array(
                "label" => "Prenume",
                "class" => "form-control",
                "pattern" => "^[a-zA-Z]{3,}$"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "email", array(
                "label" => "Email",
                "class" => "form-control",
                "type" => "email"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "username", array(
                "label" => "Username",
                "class" => "form-control",
                "pattern" => "^[a-zA-Z][a-zA-Z0-9-_\.]{1,20}$"
            ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "password", array(
                "label"    => "Parola <small>(lasati gol daca nu vreti sa updatati)</small>",
                "class"    => "form-control",
                "value"    => "",
                "required" => false,
                "pattern" => "^[a-zA-Z0-9_-]{4,}$"
            ), array( "escape" => false ) ); ?></div>
            <div class="form-group"><?php echo $this->Form->input( "git_owner", array(
                    "label" => "GitHub Owner",
                    "class" => "form-control"
                ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "git_repo", array(
                    "label" => "GitHub Repository",
                    "class" => "form-control"
                ) ); ?></div>
        <div class="form-group"><?php echo $this->Form->input( "subiecte_interes", array(
                "label" => "Subiecte Interes",
                "class" => "form-control"
            ) ); ?></div>
        <?php echo $this->Form->end( array(
                                         "label" => "Save",
                                         "class" => "btn",
                                     ) ); ?>
    </fieldset>
</div>